<template>
  <div class="loading-container" @touchmove.stop.prevent="noAct">
    <div class="loading-box animated fadeIn"></div>
  </div>
</template>

<script>
  export default {
    name: 'loading',
    props: {
      
    },
    data() {
      return {
        
      };
    },
    methods: {
      noAct() {},
    },
  };
</script>

<style lang="less" scoped>
  .loading-container {
    position: fixed;
    left: 0;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9;
  }

  .loading-box {
    width: 300rpx;
    height: 300rpx;
    background-size: 100% 100%;
    // animation: loading 2s linear infinite;
  }

  @keyframes loading {
    0% {
      transform: rotate(0);
    }

    100% {
      transform: rotate(1turn);
    }
  }

  .loading-container > div:nth-child(1) {
    background-image: url('./image/loading-color.gif');
  }
</style>
